package com.dxy.df.modules.es;/**
 * Created by cxf_dxy on 2019/10/26.
 */

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.elasticsearch.annotations.Document;

import java.util.Date;

/**
 * @author: XiaoFeng Cui (cuixiaofeng@dxy.cn)
 * @date : 2019/10/26
 * @description:
 */

@Document(indexName = "article", type = "_doc")
@Setter
@Getter
public class ArticleBean {

    private Integer id;
    private String title;
    private String summary;
    private String content;
    private String author;
    private Integer category;
    private Integer high;
    private String cover;
    private String createBy ;
    private String updateBy;

}
